/*
 * Copyright (C) 2012 TopCoder Inc., All Rights Reserved.
 */
package com.ibm.dst.capacity.services;


/**
 * <p>
 * XSeriesCapacityReportGenerationException extends from XSeriesReportServiceException and is thrown by the getSummaryReport(), getDetailedReport(), generateSummaryReport() and generateDetailedReport() methods of the XSeriesReportService class to indicate issue in generation and output/store/write of the report data.
 * </p>
 * <p>
 * This is a checked exception.
 * </p>
 * <p>
 * Thread-Safety: This class extends from a thread-safe base class and does not define state of its own and neither modifies the super classes state and hence is thread-safe.
 * </p>
 * @author fastprogrammer, TCSDEVELOPER
 * @version 1.0
 */
@SuppressWarnings("serial")
public class XSeriesCapacityReportGenerationException extends XSeriesReportServiceException {
    /**
     * <p>
     * Constructor. Simply calls the super class constructor with same arguments [key and message].
     * The key should be a unique key to identify the cause of the exception and the message being a useful information message about the cause of the exception.
     * </p>
     * Parameter:
     * =========
     *
     * key: a unique key to identify the cause of the exception
     * message: a useful information message about the cause of the exception
     *
     * Exceptions:
     * ===========
     *
     * None
     * @param message
     * @param key
     */
    public XSeriesCapacityReportGenerationException(String key, String message) {
        super(key, message);
    }

    /**
     * <p>
     * Constructor. Simply calls the super class constructor with same arguments [key, message and cause].
     * The key should be a unique key to identify the cause of the exception and the message being a useful information message about the cause of the exception. The cause parameter is for the inner exception which has resulted in this exception being thrown to the user.
     * </p>
     * Parameter:
     * =========
     *
     * key: a unique key to identify the cause of the exception
     * message: a useful information message about the cause of the exception
     * cause: an inner exception which has resulted in this exception being thrown to the user
     *
     * Exceptions:
     * ===========
     *
     * None
     * @param message
     * @param cause
     * @param key
     */
    public XSeriesCapacityReportGenerationException(String key, String message, Throwable cause) {
        super(key, message, cause);
    }
}

